package com.fa4j.product.stock.model;

import com.fa4j.common.base.exception.BusinessErrorType;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor
public enum StockError implements BusinessErrorType {

    NOT_ENOUGH(1, "库存不足"),
    ;

    private final Integer innerCode;
    private final String errMsg;
}